let express = require('express');
let app = express();
let websocket = require('ws');
let wss = new websocket.Server({ port: 3000 })
wss.on('connection', function (ws) {
    ws.on('message', function (data) {
        console.log(data)
        ws.send('我不爱你')
    })
})